/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test.cei.rmi.observer.common.dto;

import java.io.Serializable;

/**
 *
 * @author Francisco
 */
public class MensajeDTO implements Serializable {

    private String message;
    private String destinatario;

    public MensajeDTO() {
    }

    public MensajeDTO(String destinatario, String message) {
        this.message = message;
        this.destinatario = destinatario;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getDestinatario() {
        return destinatario;
    }

    public void setDestinatario(String destinatario) {
        this.destinatario = destinatario;
    }

    @Override
    public String toString() {
        return this.message;
    }
}
